#include "awa_list.h"
#include "awa.h"

AwaJobList::AwaJobList(StringList* pAwaFilenameList) : PtrList(8)
{
	for (DWORD i = 0; i < pAwaFilenameList->Count(); i++) {
		const char* awaFilename = pAwaFilenameList->Get(i);
		Attach(FileWorker::Main->RequireFile(awaFilename));
	}
}

AwaJobList::~AwaJobList()
{
}

/*
BOOL AwaJobList::Check(const char* awaName, const char* colNameList, char errorMsgBuf[], DWORD bufSize)
{
	for (DWORD i = 0; i < Count(); i++) {
		AwaJobItem* jobItem = (AwaJobItem*)GetItem(i);
		if (jobItem->Is(awaName)) {
			Awa* pAwa = (Awa*)jobItem->GetFileJob();
			if(!pAwa->)
			StringList* colStrList = new StringList(8);
			colStrList->Add(colNameList);
			for (DWORD j = 0; j < colStrList->Count(); j++) {
				if (!pAwa->HasCol(colStrList->Get(j))) {

				}
			}
		}
	}
}
*/
